/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.monaco-workbench .part.statusbar {
	box-sizing: border-box;
	cursor: default;
	width: 100%;
	height: 22px;
	font-size: 12px;
}

.monaco-workbench  .part.statusbar > .statusbar-item {
	display: inline-block;
	line-height: 22px;
	height: 100%;
	vertical-align: top;
}

.monaco-workbench .part.statusbar > .statusbar-item.has-beak {
	position: relative;
}

.monaco-workbench .part.statusbar > .statusbar-item.has-beak:before {
	content: '';
	position: absolute;
	left: 11px;
	top: -5px;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
}

.monaco-workbench .part.statusbar > .statusbar-item.left > :first-child,
.monaco-workbench .part.statusbar > .statusbar-item.right > :first-child
{
	margin-right: 3px;
	margin-left: 3px;
}

.monaco-workbench .part.statusbar > .statusbar-item.right {
	float: right;
}

/* adding padding to the most left status bar item */
.monaco-workbench .part.statusbar > .statusbar-item.left:first-child,
.monaco-workbench .part.statusbar > .statusbar-item.right + .statusbar-item.left {
	padding-left: 7px;
}

/* adding padding to the most right status bar item */
.monaco-workbench .part.statusbar > .statusbar-item.right:first-child {
	padding-right: 7px;
}

/* tweak appearance for items with background to improve hover feedback */
.monaco-workbench .part.statusbar > .statusbar-item.has-background-color.left:first-child,
.monaco-workbench .part.statusbar > .statusbar-item.right + .statusbar-item.has-background-color.left,
.monaco-workbench .part.statusbar > .statusbar-item.has-background-color.right:first-child {
	padding-right: 0;
	padding-left: 0;
}

.monaco-workbench .part.statusbar > .statusbar-item.has-background-color.left > :first-child,
.monaco-workbench .part.statusbar > .statusbar-item.has-background-color.right > :first-child
{
	margin-right: 0;
	margin-left: 0;
	padding-left: 10px;
	padding-right: 10px;
}

.monaco-workbench .part.statusbar > .statusbar-item a {
	cursor: pointer;
	display: inline-block;
	height: 100%;
}

.monaco-workbench .part.statusbar > .statusbar-entry > span {
	height: 100%;
}

.monaco-workbench .part.statusbar > .statusbar-entry > span,
.monaco-workbench .part.statusbar > .statusbar-entry > a {
	padding: 0 5px 0 5px;
	white-space: pre; /* gives some degree of styling */
}

.monaco-workbench .part.statusbar > .statusbar-entry span.octicon {
	text-align: center;
	font-size: 14px;
}

.monaco-workbench .part.statusbar > .statusbar-item a:hover {
	text-decoration: none;
}